﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Framework.Event;

namespace Framework.Bus
{
    public class EventMetaData
    {
        public EventMetaData(IEvent e, Action<dynamic> beforeCommitAction = null)
        {
            Event = e;
            BeforeCommitAction = beforeCommitAction;
        }
        public IEvent Event{get;set;}
        public Action<dynamic> BeforeCommitAction;
    }
}
